﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="YGYXRK_BASE_List.aspx.cs" Inherits="DomMgmtSystem.View.YGYXRK_BASE_List" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <table cellpadding="0" cellspacing="0" class="table table-bordered table-hover" width="100%">
        <tr>
            <td class="tableleft" style="width: 150px">
                任务名称：
            </td>
            <td>
                <asp:TextBox ID="txtCSQMC" runat="server" Width="150px"></asp:TextBox>
            </td>
            <td class="tableleft" style="width: 150px">
                卫星类型：
            </td>
            <td>
                <asp:TextBox ID="txtCHSYLX" runat="server" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="tableleft" style="width: 150px">
                接收日期：
            </td>
            <td>
                <div id="Div1" name="datetimepicker" class="input-append date">
                    <asp:TextBox ID="txtDTJSRQStart" runat="server" Width="150px"></asp:TextBox><span
                        class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                    </span>
                </div>
                -<div id="Div2" name="datetimepicker" class="input-append date">
                    <asp:TextBox ID="txtDTJSRQEnd" runat="server" Width="150px"></asp:TextBox><span class="add-on"><i
                        data-time-icon="icon-time" data-date-icon="icon-calendar"></i> </span>
                </div>
            </td>
            <td class="tableleft" style="width: 150px">
                入库日期：
            </td>
            <td>
                <div id="Div3" name="datetimepicker" class="input-append date">
                    <asp:TextBox ID="txtDTRKRQStart" runat="server" Width="150px"></asp:TextBox><span
                        class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
                    </span>
                </div>
                -<div id="Div4" name="datetimepicker" class="input-append date">
                    <asp:TextBox ID="txtDTRKRQEnd" runat="server" Width="150px"></asp:TextBox><span class="add-on"><i
                        data-time-icon="icon-time" data-date-icon="icon-calendar"></i> </span>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" colspan="4">
                <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click" class="btn btn-primary" />
            </td>
        </tr>
    </table>
    <!--数据列表-->
    <table class="table table-bordered table-hover" width="100%">
        <tr>
            <th style="display: none">
                序号
            </th>
            <th>
                任务编号
            </th>
            <th>
                任务名称
            </th>
            <%-- <th>
                                    扫描分辨率(μ)
                                </th>--%>
            <th>
                卫星类型
            </th>
            <th>
                影像类型
            </th>
            <th>
                景数
            </th>
            <th>
                面积(平方千米)
            </th>
            <th>
                硬盘套数
            </th>
            <th>
                每套的硬盘数量
            </th>
            <th>
                接收日期
            </th>
            <th>
                入库日期
            </th>
            <th>
                航摄单位
            </th>
            <th>
                扫描单位
            </th>
            <th>
                航摄仪类型
            </th>
            <%--<th>
                                    创建用户
                                </th>--%>
            <th>
                备注
            </th>
            <th>
            </th>
        </tr>
        <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
            <ItemTemplate>
                <tr>
                    <td style="display: none">
                        <%--序号--%><%#Eval("NID")%>
                    </td>
                    <td>
                        <%--摄区代号--%><%# "<a href='InRegister.aspx?baseID=" + Eval("NID") + "&IsNew=false&view=true'>" + Eval("CRWDH") + "</a>"%>
                    </td>
                    <td>
                        <%--摄区名称--%><%#Eval("CSQMC")%>
                    </td>
                    <td>
                        <%--卫星类型--%><%#Eval("CWXLX")%>
                    </td>
                    <td>
                        <%--影像类型--%><%#Eval("CYXLX")%>
                    </td>
                    <td>
                        <%--景数--%><%#Eval("NJS")%>
                    </td>
                    <td>
                        <%--面积(平方千米)--%><%#Eval("FMJ")%>
                    </td>
                    <td>
                        <%--硬盘套数--%><%#Eval("NYPTS")%>
                    </td>
                    <td>
                        <%--每套的硬盘数量--%><%#Eval("NYPS")%>
                    </td>
                    <td>
                        <%--接收日期--%><%#Eval("DTJSRQ","{0:yyyy-MM-dd}")%>
                    </td>
                    <td>
                        <%--入库日期--%><%#Eval("DTRKRQ", "{0:yyyy-MM-dd}")%>
                    </td>
                    <td>
                        <%--航摄单位--%><%#Eval("CHSDW")%>
                    </td>
                    <td>
                        <%--扫描单位--%><%#Eval("CSMDW")%>
                    </td>
                    <td>
                        <%--航摄仪类型--%><%#Eval("CHSYLX")%>
                    </td>
                    <td>
                        <%--备注--%><%#Eval("CBZ")%>
                    </td>
                    <td>
                        <%# "<a href='InRegister.aspx?baseID=" + Eval("NID") + "&IsNew=false&view=true'>查看</a>&nbsp;<a href='InRegister.aspx?baseID=" + Eval("NID") + "&IsNew=false'>编辑</a>&nbsp;"%><asp:LinkButton
                            ID="lbDel" runat="server" OnClientClick="javascript:if(confirm('确定要删除吗？'))return true;else  return false;"
                            CommandName="Del" CommandArgument='<%#Eval("NID") %>'>删除</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    <!--分页列表-->
    <div class="inline pull-right page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" Width="569px" UrlPaging="True"
            TextBeforePageIndexBox="转到" TextAfterPageIndexBox="页" SubmitButtonText="Go" ShowPageIndexBox="Never"
            PrevPageText="上一页" PageSize="14" PageIndexBoxType="DropDownList" OnPageChanging="AspNetPager1_PageChanging"
            NumericButtonTextFormatString="[{0}]" NumericButtonCount="5" NextPageText="下一页"
            LastPageText="尾页" ForeColor="Black" FirstPageText="首页" CurrentPageButtonTextFormatString="[{0}]"
            ButtonImageAlign="Middle">
        </webdiyer:AspNetPager>
    </div>
    </ContentTemplate> </asp:UpdatePanel>
</asp:Content>
